#!/bin/bash
if [ ! -f openjdk-21.0.1_linux-x64_bin.tar.gz ]; then
    curl -k https://mirrors.huaweicloud.com/openjdk/21.0.1/openjdk-21.0.1_linux-x64_bin.tar.gz -O
fi

if [ ! -f jenkins.war ]; then
    curl -k https://mirrors.aliyun.com/jenkins/war-stable/latest/jenkins.war -O
fi